package com.zhiyou100.springbootreidsquartz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@TableName("actor")
public class Actor {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private  String name;
    @TableField("`desc`")
    private  String desc;

    public Actor(Integer id, String name, String desc) {
        this.id = id;
        this.name = name;
        this.desc = desc;
    }
}
